package descentFly.app.managePanel.chat
{
	import UIFree.uif_component;
	
	import descentFly.app.scrollBar.df_scrollBarHandle;
	import descentFly.app.scrollBar.df_scrollBarV;
	
	public class df_scrollBarTurn extends df_scrollBarV {
		public function df_scrollBarTurn(parent:uif_component, ax:int=0, ay:int=0, awidth:int=0, aheight:int=0, a_styleClass:Object='scrollBar') {
			super(parent, ax, ay, awidth, aheight, a_styleClass);
		}
		
		override protected function setMax(a_value:int):void {
			handle.fx('style', {
				fill_color: 0xFFFFFF,
				filters: {
					glow: {
						color	: 0xFFFFFF,
						blurX	: 6,
						blurY	: 6
					}
				}
			}, {
				fill_color: 0x00FF00,
				filters: {
					glow: {
						blurX	: 0,
						blurY	: 0
					}
				}
			}).start();
			super.setMax(a_value);
		}
	}
}